Dir *.* /B > FilesName.txt